﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SchoolProject2012.Functions
{
    public class Field
    {
        public static string getLanguage(string language)
        {
            string uiCulture = "";
            switch (language)
            {
                case "fr": uiCulture = "fr-FR";
                    break;
                case "en": uiCulture = "en-US";
                    break;
                default: uiCulture = "fr-FR";
                    break;
            }
            return uiCulture;
        }
    }
}